  

interface ListReq {
  pageNo: number
  pageSize: number
  searchVal?: string
}

interface ProjectsReq {
  description?: string
  projectName: string
}

interface UserIdReq {
  userId?: number
}

interface UpdateProjectsReq extends ProjectsReq {
  userName?: string
}

interface ProjectList {
  id: number
  userId: number
  userName: string
  code: any
  name: string
  description: string
  createTime: string
  updateTime: string
  perm: number
  defCount: number
  instRunningCount: number
}

interface ProjectRes {
  totalList: ProjectList[]
  total: number
  totalPage: number
  pageSize: number
  currentPage: number
  start: number
}

export {
  ListReq,
  ProjectsReq,
  UserIdReq,
  UpdateProjectsReq,
  ProjectRes,
  ProjectList
}
